package com.leo.guppao.delegate;

import java.util.HashMap;
import java.util.Map;

/**
 * @author liusl
 * @version 1.0
 * @date 2019/3/13 20:42
 */
public class Leader {
    private Map<String, IEmployee> regester = new HashMap<>();

    public Leader() {
        regester.put("加密", new EmploeeA());
        regester.put("架构", new EmploeeB());
    }

    public Leader(Map<String, IEmployee> regester) {
        this.regester = regester;
    }
}
